<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<c:url value='/insdep/reset.min.css' />" rel="stylesheet" type="text/css">
	<link href="<c:url value='/insdep/easyui_full.css'/>" rel="stylesheet" type="text/css">
	<link href="<c:url value='/insdep/icon.css'/>" rel="stylesheet" type="text/css">
	<script type="text/javascript" src="<c:url value='/insdep/jquery-1.11.3.min.js'/>"></script>
	<script type="text/javascript" src="<c:url value='/insdep/jquery.easyui-1.5.2.min.js'/>"></script>
	<script type="text/javascript" src="<c:url value='/insdep/insdep-extend.min.js'/>"></script>
	
<title>给角色指定用户</title>
</head>
<body>
	<script type="text/javascript">
		//var roleid = $("#win").window("options").roleid;
		$(function(){
			$("#give_role_emp_close").linkbutton({
		 		 onClick:function(){
		 			 $("#give_emp_menurole_win").window('close');
		 		 }
		 	 });
			$("#give_role_emp_save").linkbutton({
				 onClick:function(){
					 save_editempids();
				 }
			});
		});
	</script>
	<script type="text/javascript">
		$("#rolename_tree").tree({
			queryParams:{roleid:$("#give_emp_menurole_win").window("options").roleid}
			//访问远程数据的时候作为参数传过去，-->empid=xx
		});  
	</script>
	
	<ul id="rolename_tree" class="easyui-tree" data-options="url:'get_EmpInfoByRoleId'" checkbox="true"></ul>
	<div style="margin-left:25%;position: absolute;bottom: 2px;">
		<a id="give_role_emp_save" class="easyui-linkbutton" data-options="iconCls:'icon-save'" >保存</a>
		<a id="give_role_emp_close" class="easyui-linkbutton" data-options="iconCls:'icon-no'" style="margin-left:30px;">取消</a>
	</div>
</body>
</html>